crypto/tls.Conn.peerCertificates (field)
19 uses
crypto/tls (current package)
conn.go#L57: peerCertificates []*x509.Certificate
conn.go#L1639: state.PeerCertificates = c.peerCertificates
conn.go#L1691: return c.peerCertificates[0].VerifyHostname(host)
handshake_client.go#L714: if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
handshake_client.go#L724: err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
handshake_client.go#L775: preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
handshake_client.go#L962: c.peerCertificates = hs.session.peerCertificates
handshake_client.go#L1192: c.peerCertificates = certs
handshake_client_tls13.go#L468: c.peerCertificates = hs.session.peerCertificates
handshake_client_tls13.go#L681: !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, signatureSchemesForPublicKey(c.vers, c.peerCertificates[0].PublicKey)) {
handshake_client_tls13.go#L693: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
handshake_server.go#L545: c.peerCertificates = sessionState.peerCertificates
handshake_server.go#L704: pub = c.peerCertificates[0].PublicKey
handshake_server.go#L754: if len(c.peerCertificates) > 0 {
handshake_server.go#L986: c.peerCertificates = certs
handshake_server_tls13.go#L457: c.peerCertificates = sessionState.peerCertificates
handshake_server_tls13.go#L1106: !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, signatureSchemesForPublicKey(c.vers, c.peerCertificates[0].PublicKey)) {
handshake_server_tls13.go#L1118: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
ticket.go#L304: peerCertificates: c.peerCertificates,